TEMPLATE = app
TARGET = mdn

BASEPATH = /opt/$${TARGET}

target.path = $${BASEPATH}/bin
INSTALLS *= target

QT += core declarative
#CONFIG += meegotouch mssf-qt
#MSSF += crypto

QMAKE_CXXFLAGS *= -fvisibility=hidden -fvisibility-inlines-hidden

# icons
svg_icon.files = $${TARGET}.svg
svg_icon.path = $${BASEPATH}/share/icons

png_icon.files = $${TARGET}.png
png_icon.path = $${BASEPATH}/share/icons

INSTALLS *= svg_icon png_icon

# desktop file
desktopfile.files = $${TARGET}.desktop
desktopfile.path = /usr/share/applications
INSTALLS *= desktopfile

# theme files
#themes.path = $$(DESTDIR)/usr/share/themes/base/meegotouch/$${TARGET}/style
#themes.files = *.css

#INSTALLS *= themes

# qml files
qml.files = qml/*.*
qml.path = $${BASEPATH}/qml/
INSTALLS *= qml

include(qmlapplicationviewer/qmlapplicationviewer.pri)

# source
SOURCES += main.cpp

HEADERS +=

OTHER_FILES += \
    $${TARGET}.desktop \
    $${TARGET}.svg \
    $${TARGET}.png \
    qml/*.qml

